package com.second.dao;

import com.second.entity.Users;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;
@Mapper
public interface UsersMapper {
    public List<Users> getAllUsers();
    //提供给first服务调用
    public Users getUsersById(@Param("id") String id);
}
